package com.hbpa.pan.server.modules.file.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author: BlcakTiger
 * @date: 2023/10/26 15:39
 * @contact: hsf6661@163.com
 * @description: 重命名文件的参数实体
 */
@ApiModel(value = "重命名文件的参数实体")
@Data
public class UpdateFilenamePO implements Serializable {

    private static final long serialVersionUID = 7640537454379334335L;

    @ApiModelProperty(value = "更新的文件id",required = true)
    @NotBlank(message = "更新的文件id不能为空")
    private String fileId;

    @ApiModelProperty(value = "更新的文件名",required = true)
    @NotBlank(message = "更新的文件名不能为空")
    private String newFilename;

}
